using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

using WpfTeleTwitter.Properties;

namespace WpfTeleTwitter
{
	/// <summary>
	/// Interaction logic for SettingsDialog.xaml
	/// </summary>

	public partial class LoginDialog : System.Windows.Window
	{
		public LoginDialog()
		{
			InitializeComponent();
		}

		private void ButtonOkOnClick(object sender, RoutedEventArgs e)
		{
			DialogResult = true;
		}

		private void ButtonCancelOnClick(object sender, RoutedEventArgs e)
		{
			DialogResult = false;
		}

		public string UserName
		{
			set { textBoxUserName.Text = value; }
			get { return textBoxUserName.Text; }
		}

		public string Password
		{
			set { textBoxPassword.Password = value; }
			get { return textBoxPassword.Password; }
		}
	}
}